package com.project.bean;

/**
 * @author lyl
 * description:部门实体bean
 */
public class DeptBean {
    /**
     * 部门id
     */
    private int deptId;

    /**
     * 部门名称
     */
    private String deptName;

    public DeptBean() {
    }

    public DeptBean(String deptName) {
        this.deptName = deptName;
    }

    public int getDeptId() {
        return deptId;
    }

    public void setDeptId(int deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    @Override
    public String toString() {
        return "DeptBean{" +
                "deptId=" + deptId +
                ", deptName='" + deptName + '\'' +
                '}' + "\n";
    }
}
